package dao;

import java.util.List;

import entity.User;

public interface UserDAO extends GenericDAO<User> {

	User selectUserByName(String name);	
	Long selectRolesCountByUserName(String userName);
	List<User> selectUsersByPartName(String partName);
	List<User> selectUserListByRoleAndUserPartName(String roleName, String userName);	
	List<User> selectUserListByUserPartNameWithNoRoles(String partName);
	
}
